package com.clpms.bean.req;


import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class AddWorkReq {
    @NotBlank(message = "作业名称不能为空")
    private String name;

    @NotNull(message = "作业类型不能为空")
    private Integer workType;

    @NotNull(message = "所属不能为空")
    private Long courseId;

    private String remark;
}
